﻿var Galaxy = function (depth, sizeAndPosition, name, children) {

    //Local Vars
    this.DepthFactor = depth;
    var base = new UniverseEntity(sizeAndPosition, name, children);

    $.extend(this, base);

    this.UniverseEntityType = UniverseEntityTypes.Galaxy;

};